{template 'admin','header'}
<form name="upload" method="post" action="admin/fastdfs.php?action=upload" enctype="multipart/form-data">
    <input type="hidden" name="fieldid" value="{$fieldid}">
    <table cellpadding="2" cellspacing="1" class="table_form">
        <caption>图片上传</caption>
        <tr>
            <td class="align_c">
                <input name="thumb" type="file" size="15">
                <input type="submit" name="dosubmit" value=" 上传 ">
            </td>
        </tr>
        <tr>
            <td class="align_c">
                允许上传类型：{UPLOAD_ALLOWEXT}<br />
                允许上传大小：{$size}<br />
            </td>
        </tr>
    </table>
</form>

<form name="" method="post" action ="admin/fastdfs.php" enctype="multipart/form-data">
    <table cellspacing="1"  cellpadding="0" class="table_form">
    <caption>上传文件列表</caption>
    </table>
    <table>
    {php foreach($file_list as $data){}
    <tr>
        <td>
            {$data}
        </td>
    </tr>
    {/php}
    </table>
    
</form>
{template 'admin','footer'}